﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<WebMVC.Models.TaxiRating>" %>
<div class="stars-wrapper">
    <%=Html.RadioButtonFor(m => m.Rating, 1, new {id= ViewData.ModelMetadata.PropertyName + "_1"})%>
    <%=Html.RadioButtonFor(m => m.Rating, 2, new { id = ViewData.ModelMetadata.PropertyName + "_2" })%>
    <%=Html.RadioButtonFor(m => m.Rating, 3, new { id = ViewData.ModelMetadata.PropertyName + "_3" })%>
    <%=Html.RadioButtonFor(m => m.Rating, 4, new { id = ViewData.ModelMetadata.PropertyName + "_4" })%>
    <%=Html.RadioButtonFor(m => m.Rating, 5, new { id = ViewData.ModelMetadata.PropertyName + "_5" })%>
</div>
